package wxshop.api.user.service;


import wxshop.api.user.model.Balances;
import wxshop.api.user.model.OrderRecord;
import wxshop.api.user.model.User;

import java.util.List;

/**
 * Created by yvdedu.com on 2018/1/25.
 */
public interface BalancesService {
	
	int getBalance (int id);//拿到user余额的方法
	
	void withdrawals (User user, Balances balances);//提现
	
	void recharge (User user, Balances balances);//充值
	
	List<Balances> queryBalanceDetailed (Balances input);//查询用户余额明细
	
	List<OrderRecord> queryOrderRecord (OrderRecord input);//查询用户订单记录
	
	
	
}
